package com.ruoyi.personal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 刑事责任，用于记录刑事责任的相关信息对象 t_criminal_responsibility
 * 
 * @author qjp
 * @date 2024-09-18
 */
public class CriminalResponsibility extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long Id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 与本人关系 */
    @Excel(name = "与本人关系")
    private String relation;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 被追究日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "被追究日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateInvestigation;

    /** 被追究原因 */
    @Excel(name = "被追究原因")
    private String investigateReasons;

    /** 处理阶段 */
    @Excel(name = "处理阶段")
    private String processingStage;

    /** 处理结果选填写 */
    @Excel(name = "处理结果选填写")
    private String processingResults;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long Id) 
    {
        this.Id = Id;
    }

    public Long getId() 
    {
        return Id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setDateInvestigation(Date dateInvestigation) 
    {
        this.dateInvestigation = dateInvestigation;
    }

    public Date getDateInvestigation() 
    {
        return dateInvestigation;
    }
    public void setInvestigateReasons(String investigateReasons) 
    {
        this.investigateReasons = investigateReasons;
    }

    public String getInvestigateReasons() 
    {
        return investigateReasons;
    }
    public void setProcessingStage(String processingStage) 
    {
        this.processingStage = processingStage;
    }

    public String getProcessingStage() 
    {
        return processingStage;
    }
    public void setProcessingResults(String processingResults) 
    {
        this.processingResults = processingResults;
    }

    public String getProcessingResults() 
    {
        return processingResults;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("username", getUsername())
            .append("relation", getRelation())
            .append("idCard", getIdCard())
            .append("dateInvestigation", getDateInvestigation())
            .append("investigateReasons", getInvestigateReasons())
            .append("processingStage", getProcessingStage())
            .append("processingResults", getProcessingResults())
            .append("notes", getNotes())
            .toString();
    }
}
